﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000175 RID: 373
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class CancelCacheNotifyCsReq : IMessage<CancelCacheNotifyCsReq>, IMessage, IEquatable<CancelCacheNotifyCsReq>, IDeepCloneable<CancelCacheNotifyCsReq>, IBufferMessage
	{
		// Token: 0x170004F1 RID: 1265
		// (get) Token: 0x060010C9 RID: 4297 RVA: 0x0003103B File Offset: 0x0002F23B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<CancelCacheNotifyCsReq> Parser
		{
			get
			{
				return CancelCacheNotifyCsReq._parser;
			}
		}

		// Token: 0x170004F2 RID: 1266
		// (get) Token: 0x060010CA RID: 4298 RVA: 0x00031042 File Offset: 0x0002F242
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return CancelCacheNotifyCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170004F3 RID: 1267
		// (get) Token: 0x060010CB RID: 4299 RVA: 0x00031054 File Offset: 0x0002F254
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return CancelCacheNotifyCsReq.Descriptor;
			}
		}

		// Token: 0x060010CC RID: 4300 RVA: 0x0003105B File Offset: 0x0002F25B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CancelCacheNotifyCsReq()
		{
		}

		// Token: 0x060010CD RID: 4301 RVA: 0x0003107C File Offset: 0x0002F27C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CancelCacheNotifyCsReq(CancelCacheNotifyCsReq other) : this()
		{
			this.eNKBLEFCOID_ = other.eNKBLEFCOID_.Clone();
			this.oAPHLEHOFKM_ = other.oAPHLEHOFKM_.Clone();
			this.type_ = other.type_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060010CE RID: 4302 RVA: 0x000310CE File Offset: 0x0002F2CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CancelCacheNotifyCsReq Clone()
		{
			return new CancelCacheNotifyCsReq(this);
		}

		// Token: 0x170004F4 RID: 1268
		// (get) Token: 0x060010CF RID: 4303 RVA: 0x000310D6 File Offset: 0x0002F2D6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> ENKBLEFCOID
		{
			get
			{
				return this.eNKBLEFCOID_;
			}
		}

		// Token: 0x170004F5 RID: 1269
		// (get) Token: 0x060010D0 RID: 4304 RVA: 0x000310DE File Offset: 0x0002F2DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<string> OAPHLEHOFKM
		{
			get
			{
				return this.oAPHLEHOFKM_;
			}
		}

		// Token: 0x170004F6 RID: 1270
		// (get) Token: 0x060010D1 RID: 4305 RVA: 0x000310E6 File Offset: 0x0002F2E6
		// (set) Token: 0x060010D2 RID: 4306 RVA: 0x000310EE File Offset: 0x0002F2EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GECDMPFBLMF Type
		{
			get
			{
				return this.type_;
			}
			set
			{
				this.type_ = value;
			}
		}

		// Token: 0x060010D3 RID: 4307 RVA: 0x000310F7 File Offset: 0x0002F2F7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as CancelCacheNotifyCsReq);
		}

		// Token: 0x060010D4 RID: 4308 RVA: 0x00031108 File Offset: 0x0002F308
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(CancelCacheNotifyCsReq other)
		{
			return other != null && (other == this || (this.eNKBLEFCOID_.Equals(other.eNKBLEFCOID_) && this.oAPHLEHOFKM_.Equals(other.oAPHLEHOFKM_) && this.Type == other.Type && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060010D5 RID: 4309 RVA: 0x0003116C File Offset: 0x0002F36C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.eNKBLEFCOID_.GetHashCode();
			num ^= this.oAPHLEHOFKM_.GetHashCode();
			if (this.Type != GECDMPFBLMF.CacheNotifyTypeNone)
			{
				num ^= this.Type.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060010D6 RID: 4310 RVA: 0x000311CD File Offset: 0x0002F3CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060010D7 RID: 4311 RVA: 0x000311D5 File Offset: 0x0002F3D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060010D8 RID: 4312 RVA: 0x000311E0 File Offset: 0x0002F3E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Type != GECDMPFBLMF.CacheNotifyTypeNone)
			{
				output.WriteRawTag(32);
				output.WriteEnum((int)this.Type);
			}
			this.oAPHLEHOFKM_.WriteTo(ref output, CancelCacheNotifyCsReq._repeated_oAPHLEHOFKM_codec);
			this.eNKBLEFCOID_.WriteTo(ref output, CancelCacheNotifyCsReq._repeated_eNKBLEFCOID_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060010D9 RID: 4313 RVA: 0x00031240 File Offset: 0x0002F440
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.eNKBLEFCOID_.CalculateSize(CancelCacheNotifyCsReq._repeated_eNKBLEFCOID_codec);
			num += this.oAPHLEHOFKM_.CalculateSize(CancelCacheNotifyCsReq._repeated_oAPHLEHOFKM_codec);
			if (this.Type != GECDMPFBLMF.CacheNotifyTypeNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.Type);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060010DA RID: 4314 RVA: 0x000312A4 File Offset: 0x0002F4A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CancelCacheNotifyCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.eNKBLEFCOID_.Add(other.eNKBLEFCOID_);
			this.oAPHLEHOFKM_.Add(other.oAPHLEHOFKM_);
			if (other.Type != GECDMPFBLMF.CacheNotifyTypeNone)
			{
				this.Type = other.Type;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060010DB RID: 4315 RVA: 0x00031302 File Offset: 0x0002F502
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060010DC RID: 4316 RVA: 0x0003130C File Offset: 0x0002F50C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 74U)
				{
					if (num == 32U)
					{
						this.Type = (GECDMPFBLMF)input.ReadEnum();
						continue;
					}
					if (num == 74U)
					{
						this.oAPHLEHOFKM_.AddEntriesFrom(ref input, CancelCacheNotifyCsReq._repeated_oAPHLEHOFKM_codec);
						continue;
					}
				}
				else if (num == 104U || num == 106U)
				{
					this.eNKBLEFCOID_.AddEntriesFrom(ref input, CancelCacheNotifyCsReq._repeated_eNKBLEFCOID_codec);
					continue;
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04000719 RID: 1817
		private static readonly MessageParser<CancelCacheNotifyCsReq> _parser = new MessageParser<CancelCacheNotifyCsReq>(() => new CancelCacheNotifyCsReq());

		// Token: 0x0400071A RID: 1818
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400071B RID: 1819
		public const int ENKBLEFCOIDFieldNumber = 13;

		// Token: 0x0400071C RID: 1820
		private static readonly FieldCodec<uint> _repeated_eNKBLEFCOID_codec = FieldCodec.ForUInt32(106U);

		// Token: 0x0400071D RID: 1821
		private readonly RepeatedField<uint> eNKBLEFCOID_ = new RepeatedField<uint>();

		// Token: 0x0400071E RID: 1822
		public const int OAPHLEHOFKMFieldNumber = 9;

		// Token: 0x0400071F RID: 1823
		private static readonly FieldCodec<string> _repeated_oAPHLEHOFKM_codec = FieldCodec.ForString(74U);

		// Token: 0x04000720 RID: 1824
		private readonly RepeatedField<string> oAPHLEHOFKM_ = new RepeatedField<string>();

		// Token: 0x04000721 RID: 1825
		public const int TypeFieldNumber = 4;

		// Token: 0x04000722 RID: 1826
		private GECDMPFBLMF type_;
	}
}
